Analysis of experiences with modifying computer programs

نویسنده

  • Arun Lakhotia
چکیده

The paper analyzes the author’s experience with modifying large, real-world programs written by other programmers. It finds that Brooks’ domain and programming knowledge based hypothesis-test-refine paradigm explains the author’s approach to understanding programs and the differences in performance in comparison with his students. Zvegintov’s 9–step process of change is found to be a good first level decomposition of the (physical) tasks performed when making corrective changes to a software system. The paper also makes some new observations. Besides modularity and levels of abstractions, the organization of source code in hierarchy of directories also has influence on the ease of locating code segments relevant to a change request. The functionality of a program is not only understood from its documentation but also by executing it and inferring relations between its inputs and outputs; an approach analogous to concept identification. When introducing a new function in an existing program, a programmer attempts to find subproblems that have been solved by other parts of the program so as to mimic their solutions. Quite often this means copying large code segments. However, when deleting a function, the code implementing it is not destroyed, only execution paths leading to it are disconnected; leaving behind dead-code. The replicated and dead code segments are major contributors to the difficulty in understanding and modifying programs.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Reasons for Participation of Ophthalmologist in Continuing Medical Education

Purpose: Today, Continues Medical Education (CME) is considered as one of the methods to improve knowledge and clinical performance of physicians. In this regard, all physicians will become familiar with new and more effective therapies and are encouraged to follow them. The present qualitative study aims at explaining the reasons for the participation of Iranian ophthalmologists in continuing ...

متن کامل

Analysis of Tall Buildings with Bundled Tube System Subjected to Wind and Earthquake loads

At present, the tubular structural systems are mainly used in tall buildings to withstand earthquake loads. Although it is possible to analyse the structure by finite element methods using standard three dimensional programs, the system is generally time-consuming and expensive in the primary design work. In this paper, for the analysis of Framed-Tube systems, a simple method was studied and de...

متن کامل

An automated approach to analysis and classification of Crypto-ransomwares’ family

There is no doubt that malicious programs are one of the permanent threats to computer systems. Malicious programs distract the normal process of computer systems to apply their roguish purposes. Meanwhile, there is also a type of malware known as the ransomware that limits victims to access their computer system either by encrypting the victimchr('39')s files or by locking the system. Despite ...

متن کامل

Analysis of Tall Buildings with Bundled Tube System Subjected to Wind and Earthquake loads

At present, the tubular structural systems are mainly used in tall buildings to withstand earthquake loads. Although it is possible to analyse the structure by finite element methods using standard three dimensional programs, the system is generally time-consuming and expensive in the primary design work. In this paper, for the analysis of Framed-Tube systems, a simple method was studied and de...

متن کامل

شیوع آسیب سرسوزن در دانشجویان دانشگاه‌های علوم پزشکی: مطالعه مرور سیستماتیک و فراتحلیل

Background & Aim: Needlestick injury is an occupational risk. Medical university students are more likely to prone to this kind of injury in comparison to other students due to their limited knowledge, skills and clinical experiences. The present systematic review and meta-analysis aimed to estimate the prevalence of needlestick injury in medical university students in Iran. Methods & Material...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993